package com.baizhi.cmfzdemo.service.impl;

import com.baizhi.cmfzdemo.dao.CmfzUserDtoDao;
import com.baizhi.cmfzdemo.entity.CmfzUserDto;
import com.baizhi.cmfzdemo.service.CmfzUserDtoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by 54433 on 2019/4/4.
 */
@Service
public class CmfzUserDtoServiceImpl implements CmfzUserDtoService{
    @Autowired
    private CmfzUserDtoDao cmfzUserDtoDao;
    @Override
    public List<CmfzUserDto> queryBySex() {
        return cmfzUserDtoDao.queryAllUserDto();
    }
}
